#ifndef MYTABLEWIDGETITEM_H
#define MYTABLEWIDGETITEM_H

#include <QWidget>
#include <QPixmap>
#include "publicstruct.h"

namespace Ui {
class MyTableWidgetItem;
}

class MyTableWidgetItem : public QWidget
{
    Q_OBJECT

public:
    explicit MyTableWidgetItem(struct st_friendData fdata,QWidget *parent = nullptr);
    explicit MyTableWidgetItem(struct st_gData gdata,QWidget *parent = nullptr);
    ~MyTableWidgetItem();

private slots:
    void on_btn_add_clicked();

    void on_btn_addgroup_clicked();

private:
    Ui::MyTableWidgetItem *ui;
    int id;
};

#endif // MYTABLEWIDGETITEM_H
